package com.ruoyi.system.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.AlarmTypeCompany;

/**
 * 告警类型与公司中间Mapper接口
 * 
 * @author wp
 * @date 2023-08-10
 */
public interface AlarmTypeCompanyMapper extends BaseMapper<AlarmTypeCompany> {

    public List<AlarmTypeCompany> list(AlarmTypeCompany alarmTypeCompany);

    /**
     * 查询全部通过公司ID
     * @param deptId
     * @return
     */
    public List<AlarmTypeCompany> selectAllByCompanyId(Long deptId);
}
